<div class="mates form">
<?php echo $form->create('Mate');?>
	<fieldset>
 		<legend><?php __('Добавить супруга');?></legend>
 		<table width="100%" border="0" cellspacing="10" cellpadding="0" bgcolor="#cccccc">
			<tr>
				<td colspan="4">Студент - 
			    <b>
			    <?php 
			    	echo $student['Studentinfo']['lastname'].' ';
			    	echo $student['Studentinfo']['firstname'].' ';
			    	echo $student['Studentinfo']['surname'].' ';
			    	echo $form->hidden('studentinfo_id', array('value' => $student['Studentinfo']['id']));
			    ?>
			    </b>
			    </td>
			</tr>
			<tr>
				<td width="15%" class="labelblock">ФИО</td>
				<td width="35%" class="infoblock">
					<?php 
						echo $form->input('fio', array('label' => '', 'size' => 50));
					?>
				</td>
				<td width="15%" class="labelblock">СТАТУС</td>
				<td width="35%" class="infoblock">
					<?php 
						echo $form->input('matestatus_id', array('label' => ''));
					?>
				</td>
			</tr>
			<tr>
				<td class="labelblock">ПАСПОРТ. ДАННЫЕ</td>
				<td colspan="3" class="infoblock">					
					<?php 
						echo $form->input('passport_data', array('label' => '', 'size' => 100));
					?>
				</td>
			</tr>
		</table>	 
	</fieldset>
<?php echo $form->end('Добавить');?>
</div>
<!--<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List Mates', true), array('action' => 'index'));?></li>
		<li><?php echo $html->link(__('List Students', true), array('controller' => 'students', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Student', true), array('controller' => 'students', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Matestatuses', true), array('controller' => 'matestatuses', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Matestatus', true), array('controller' => 'matestatuses', 'action' => 'add')); ?> </li>
	</ul>
</div>
-->